package com.projectName.www.po;

import java.util.Objects;

public class shop {
    private String name;
    private String description;
    private String shopkeeper;



    public shop() {
        super();
    }
    public shop(String name, String description, String shopkeeper) {
        this.name = name;
        this.description = description;
        this.shopkeeper = shopkeeper;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getShopkeeper() {
        return shopkeeper;
    }

    public void setShopkeeper(String shopkeeper) {
        this.shopkeeper = shopkeeper;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        shop shop = (shop) o;
        return Objects.equals(name, shop.name) && Objects.equals(description, shop.description) && Objects.equals(shopkeeper, shop.shopkeeper);
    }

    @Override
    public int hashCode() {
        return Objects.hash(name, description, shopkeeper);
    }
}